/*
-------------------------------------------------

	PNG.h

	Dmitriy Kuzmenko (Dgut)

-------------------------------------------------
*/

#ifndef __AUTUMN_PNG_H__
#define __AUTUMN_PNG_H__

#include <png.h>

namespace Autumn
{

class PNG
{
	png_uint_32						width;
	png_uint_32						height;
	png_byte						type;
	png_byte *						data;
public:
									PNG( const char * fileName );
									~PNG( void );

	const png_uint_32				GetWidth( void ) const;
	const png_uint_32				GetHeight( void ) const;
	const png_byte					GetType( void ) const;
	png_byte * const				GetData( void ) const;
};

}	// namespace Autumn

#endif	// !!! __AUTUMN_PNG_H__ !!!